package indi.wshape1.takeawaydeliveryinfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import indi.wshape1.takeawaydeliveryinfo.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Wshape1
 * @description 针对表【t_admin】的数据库操作Mapper
 * @Entity indi.wshape1.takeawaydeliveryinfo.pojo.Admin
 * @since 2023-01-17 17:33:01
 */
public interface AdminMapper extends BaseMapper<Admin> {

    /**
     * 通过blockIds批量修改admin的 block
     *
     * @param blockName
     * @param ids
     * @return
     */
    int updateBlockNameBatchByBlockIds(@Param("blockName") String blockName, @Param("ids") List<Integer> ids);


}




